package com.kvest.map;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.RelativeLayout;
import com.kvest.map.mapview.OSMMapView;

public class MapTestActivity extends Activity {
    private static final float STEP = 0.5f;
    private OSMMapView mapView;
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        mapView = new OSMMapView(getApplicationContext());
        ((RelativeLayout)findViewById(R.id.content_container)).addView(mapView);
    }

//    public void plusX(View view) {
//        mapView.setX(mapView.getX() + STEP);
//        mapView.requestRender();
//    }
//
//    public void minusX(View view) {
//        mapView.setX(mapView.getX() - STEP);
//        mapView.requestRender();
//    }
//
//    public void plusY(View view) {
//        mapView.setY(mapView.getY() + STEP);
//        mapView.requestRender();
//    }
//
//    public void minusY(View view) {
//        mapView.setY(mapView.getY() - STEP);
//        mapView.requestRender();
//    }
//
//    public void plusZ(View view) {
//        mapView.setZ(mapView.getZ() + 0.2f);
//        mapView.requestRender();
//    }
//
//    public void minusZ(View view) {
//        mapView.setZ(mapView.getZ() - 0.2f);
//        mapView.requestRender();
//    }
}
